/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;

/**
 *
 * @author Jojo
 */
public class ResizeListener extends ComponentAdapter{
    MainFrame frame;
    
    public ResizeListener(MainFrame pFrame){
        super();
        frame = pFrame;        
    }
    
    @Override
    public void componentResized(ComponentEvent e){
        frame.saveNewViewSettings();
    }
}
